FROM openjdk:8
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone \
COPY application.jar /usr/local/
WORKDIR /usr/local
EXPOSE 10001
CMD java -jar application.jar